var bmi_male_3rd = [
    [24, 14.52095333],
    [24.5, 14.50347667],
    [25.5, 14.46882381],
    [26.5, 14.43459737],
    [27.5, 14.40082828],
    [28.5, 14.36754718],
    [29.5, 14.33478414],
    [30.5, 14.30256837],
    [31.5, 14.27092833],
    [32.5, 14.23988971],
    [33.5, 14.2094782],
    [34.5, 14.17971698],
    [35.5, 14.15062715],
    [36.5, 14.12222757],
    [37.5, 14.09453413],
    [38.5, 14.06756329],
    [39.5, 14.04132288],
    [40.5, 14.0158243],
    [41.5, 13.99107332],
    [42.5, 13.96707439],
    [43.5, 13.94382698],
    [44.5, 13.9213319],
    [45.5, 13.8995866],
    [46.5, 13.87858352],
    [47.5, 13.85831582],
    [48.5, 13.83877404],
    [49.5, 13.81994711],
    [50.5, 13.80182253],
    [51.5, 13.78438667],
    [52.5, 13.76762605],
    [53.5, 13.75152248],
    [54.5, 13.73606368],
    [55.5, 13.72123322],
    [56.5, 13.70701599],
    [57.5, 13.69339739],
    [58.5, 13.68036242],
    [59.5, 13.66789962],
    [60.5, 13.65599683],
    [61.5, 13.64464353],
    [62.5, 13.63383056],
    [63.5, 13.62354907],
    [64.5, 13.61379452],
    [65.5, 13.60456106],
    [66.5, 13.595845],
    [67.5, 13.58764387],
    [68.5, 13.57995642],
    [69.5, 13.57278245],
    [70.5, 13.56612272],
    [71.5, 13.55997887],
    [72.5, 13.55435329],
    [73.5, 13.54924901],
    [74.5, 13.54466964],
    [75.5, 13.54061839],
    [76.5, 13.53710097],
    [77.5, 13.53412147],
    [78.5, 13.53168472],
    [79.5, 13.52979573],
    [80.5, 13.52845994],
    [81.5, 13.5276813],
    [82.5, 13.52746565],
    [83.5, 13.52781794],
    [84.5, 13.52874305],
    [85.5, 13.53024568],
    [86.5, 13.53233036],
    [87.5, 13.53500147],
    [88.5, 13.53826314],
    [89.5, 13.54211938],
    [90.5, 13.54657375],
    [91.5, 13.55162988],
    [92.5, 13.55729098],
    [93.5, 13.56356006],
    [94.5, 13.57043987],
    [95.5, 13.57793291],
    [96.5, 13.58604144],
    [97.5, 13.59476742],
    [98.5, 13.60411246],
    [99.5, 13.61407844],
    [100.5, 13.62466611],
    [101.5, 13.63587653],
    [102.5, 13.64771054],
    [103.5, 13.66016853],
    [104.5, 13.67325038],
    [105.5, 13.68695684],
    [106.5, 13.70128712],
    [107.5, 13.71624103],
    [108.5, 13.73181676],
    [109.5, 13.7480147],
    [110.5, 13.76483325],
    [111.5, 13.78227084],
    [112.5, 13.80032593],
    [113.5, 13.81899666],
    [114.5, 13.83828098],
    [115.5, 13.85817663],
    [116.5, 13.87868113],
    [117.5, 13.8997918],
    [118.5, 13.92150576],
    [119.5, 13.94381995],
    [120.5, 13.96673109],
    [121.5, 13.99023581],
    [122.5, 14.01433021],
    [123.5, 14.0390107],
    [124.5, 14.06427317],
    [125.5, 14.09011344],
    [126.5, 14.11652711],
    [127.5, 14.14350962],
    [128.5, 14.17105623],
    [129.5, 14.19916203],
    [130.5, 14.22782193],
    [131.5, 14.25703066],
    [132.5, 14.28678279],
    [133.5, 14.31707271],
    [134.5, 14.34789463],
    [135.5, 14.37924262],
    [136.5, 14.41110933],
    [137.5, 14.44349038],
    [138.5, 14.47637861],
    [139.5, 14.50976741],
    [140.5, 14.54365005],
    [141.5, 14.57801961],
    [142.5, 14.61286903],
    [143.5, 14.6481911],
    [144.5, 14.68397844],
    [145.5, 14.72022354],
    [146.5, 14.75691872],
    [147.5, 14.79405616],
    [148.5, 14.83162791],
    [149.5, 14.86962583],
    [150.5, 14.90804168],
    [151.5, 14.94686707],
    [152.5, 14.98609343],
    [153.5, 15.0257121],
    [154.5, 15.06571426],
    [155.5, 15.10609095],
    [156.5, 15.14683307],
    [157.5, 15.1879314],
    [158.5, 15.22937658],
    [159.5, 15.27115913],
    [160.5, 15.31326943],
    [161.5, 15.35569774],
    [162.5, 15.39843418],
    [163.5, 15.44146877],
    [164.5, 15.48479139],
    [165.5, 15.52839182],
    [166.5, 15.57225971],
    [167.5, 15.6163846],
    [168.5, 15.66075591],
    [169.5, 15.70536296],
    [170.5, 15.75019496],
    [171.5, 15.79524102],
    [172.5, 15.84049013],
    [173.5, 15.8859312],
    [174.5, 15.93155303],
    [175.5, 15.97734432],
    [176.5, 16.02329371],
    [177.5, 16.0693897],
    [178.5, 16.11562074],
    [179.5, 16.1619752],
    [180.5, 16.20844134],
    [181.5, 16.25500735],
    [182.5, 16.30166137],
    [183.5, 16.34839144],
    [184.5, 16.39518554],
    [185.5, 16.44203157],
    [186.5, 16.4889174],
    [187.5, 16.53583079],
    [188.5, 16.58275947],
    [189.5, 16.62969112],
    [190.5, 16.67661334],
    [191.5, 16.72351369],
    [192.5, 16.77037969],
    [193.5, 16.81719878],
    [194.5, 16.86395838],
    [195.5, 16.91064668],
    [196.5, 16.95724926],
    [197.5, 17.0037543],
    [198.5, 17.05014902],
    [199.5, 17.09642062],
    [200.5, 17.1425562],
    [201.5, 17.18854287],
    [202.5, 17.23436764],
    [203.5, 17.2800175],
    [204.5, 17.32547937],
    [205.5, 17.37074012],
    [206.5, 17.41578654],
    [207.5, 17.46060537],
    [208.5, 17.50518327],
    [209.5, 17.54950683],
    [210.5, 17.59356252],
    [211.5, 17.63733676],
    [212.5, 17.68081585],
    [213.5, 17.72398595],
    [214.5, 17.76683315],
    [215.5, 17.80934323],
    [216.5, 17.85150219],
    [217.5, 17.89329472],
    [218.5, 17.93470899],
    [219.5, 17.97572809],
    [220.5, 18.01633608],
    [221.5, 18.05651989],
    [222.5, 18.09626344],
    [223.5, 18.13555112],
    [224.5, 18.17436706],
    [225.5, 18.21269512],
    [226.5, 18.25051886],
    [227.5, 18.28782254],
    [228.5, 18.3245866],
    [229.5, 18.36079565],
    [230.5, 18.39643137],
    [231.5, 18.43147564],
    [232.5, 18.46590991],
    [233.5, 18.49971524],
    [234.5, 18.53287228],
    [235.5, 18.56536124],
    [236.5, 18.59716016],
    [237.5, 18.62825142],
    [238.5, 18.65861245],
    [239.5, 18.68822161],
    [240, 18.70273741],
    [240.5, 18.71705679]

];

var bmi_male_5th = [
    [24, 14.73731947],
    [24.5, 14.71929257],
    [25.5, 14.68360841],
    [26.5, 14.64843329],
    [27.5, 14.61378626],
    [28.5, 14.57968578],
    [29.5, 14.54614966],
    [30.5, 14.51319492],
    [31.5, 14.48083795],
    [32.5, 14.44909329],
    [33.5, 14.41797561],
    [34.5, 14.38749811],
    [35.5, 14.35767293],
    [36.5, 14.32851119],
    [37.5, 14.30002256],
    [38.5, 14.27221761],
    [39.5, 14.24510202],
    [40.5, 14.21868433],
    [41.5, 14.19297011],
    [42.5, 14.16796472],
    [43.5, 14.14367089],
    [44.5, 14.12009269],
    [45.5, 14.09723246],
    [46.5, 14.07508966],
    [47.5, 14.05366443],
    [48.5, 14.03295533],
    [49.5, 14.01295984],
    [50.5, 13.99367445],
    [51.5, 13.97509464],
    [52.5, 13.95721572],
    [53.5, 13.94002947],
    [54.5, 13.92353116],
    [55.5, 13.90771281],
    [56.5, 13.89256678],
    [57.5, 13.87808525],
    [58.5, 13.86425959],
    [59.5, 13.85108308],
    [60.5, 13.83854804],
    [61.5, 13.82664746],
    [62.5, 13.81537489],
    [63.5, 13.8047237],
    [64.5, 13.79469004],
    [65.5, 13.78526882],
    [66.5, 13.77645627],
    [67.5, 13.76824936],
    [68.5, 13.76064574],
    [69.5, 13.75364373],
    [70.5, 13.7472423],
    [71.5, 13.74144099],
    [72.5, 13.73623987],
    [73.5, 13.73163946],
    [74.5, 13.72764072],
    [75.5, 13.72424433],
    [76.5, 13.72145289],
    [77.5, 13.71926775],
    [78.5, 13.71769094],
    [79.5, 13.71672458],
    [80.5, 13.71637124],
    [81.5, 13.71663233],
    [82.5, 13.71751078],
    [83.5, 13.71900887],
    [84.5, 13.72112886],
    [85.5, 13.72387293],
    [86.5, 13.72724315],
    [87.5, 13.7312415],
    [88.5, 13.73586983],
    [89.5, 13.7411299],
    [90.5, 13.74702309],
    [91.5, 13.753551],
    [92.5, 13.7607148],
    [93.5, 13.76851558],
    [94.5, 13.77695423],
    [95.5, 13.78603145],
    [96.5, 13.79574779],
    [97.5, 13.80610355],
    [98.5, 13.81709878],
    [99.5, 13.82873375],
    [100.5, 13.84100784],
    [101.5, 13.85392068],
    [102.5, 13.86747174],
    [103.5, 13.88166013],
    [104.5, 13.89648454],
    [105.5, 13.91194439],
    [106.5, 13.92803786],
    [107.5, 13.94476358],
    [108.5, 13.9621189],
    [109.5, 13.98010297],
    [110.5, 13.99871328],
    [111.5, 14.01794738],
    [112.5, 14.03780282],
    [113.5, 14.0582769],
    [114.5, 14.07936677],
    [115.5, 14.10106937],
    [116.5, 14.1233815],
    [117.5, 14.14629977],
    [118.5, 14.16982063],
    [119.5, 14.19394037],
    [120.5, 14.21865508],
    [121.5, 14.24396081],
    [122.5, 14.26985313],
    [123.5, 14.29632789],
    [124.5, 14.32338048],
    [125.5, 14.35100623],
    [126.5, 14.37920031],
    [127.5, 14.40795771],
    [128.5, 14.43727329],
    [129.5, 14.46714175],
    [130.5, 14.49755765],
    [131.5, 14.52851537],
    [132.5, 14.56000917],
    [133.5, 14.59203313],
    [134.5, 14.62458122],
    [135.5, 14.65764722],
    [136.5, 14.69122381],
    [137.5, 14.72530601],
    [138.5, 14.75988661],
    [139.5, 14.79495883],
    [140.5, 14.83051578],
    [141.5, 14.86655039],
    [142.5, 14.90305549],
    [143.5, 14.94002374],
    [144.5, 14.97744768],
    [145.5, 15.01531973],
    [146.5, 15.05363215],
    [147.5, 15.09237707],
    [148.5, 15.13154651],
    [149.5, 15.17113234],
    [150.5, 15.2111263],
    [151.5, 15.25152001],
    [152.5, 15.29230496],
    [153.5, 15.33347251],
    [154.5, 15.37501389],
    [155.5, 15.41692023],
    [156.5, 15.4591825],
    [157.5, 15.50179159],
    [158.5, 15.54473823],
    [159.5, 15.58801305],
    [160.5, 15.63160658],
    [161.5, 15.67550919],
    [162.5, 15.71971118],
    [163.5, 15.7642027],
    [164.5, 15.80897382],
    [165.5, 15.85401448],
    [166.5, 15.89931451],
    [167.5, 15.94486363],
    [168.5, 15.99065148],
    [169.5, 16.03666757],
    [170.5, 16.0829013],
    [171.5, 16.129342],
    [172.5, 16.17597888],
    [173.5, 16.22280106],
    [174.5, 16.26979755],
    [175.5, 16.31695728],
    [176.5, 16.3642691],
    [177.5, 16.41172173],
    [178.5, 16.45930384],
    [179.5, 16.50700399],
    [180.5, 16.55481067],
    [181.5, 16.60271228],
    [182.5, 16.65069714],
    [183.5, 16.69875348],
    [184.5, 16.74686947],
    [185.5, 16.79503318],
    [186.5, 16.84323264],
    [187.5, 16.89145577],
    [188.5, 16.93969043],
    [189.5, 16.98792443],
    [190.5, 17.03614547],
    [191.5, 17.08434122],
    [192.5, 17.13249925],
    [193.5, 17.18060709],
    [194.5, 17.22865219],
    [195.5, 17.27662259],
    [196.5, 17.32450423],
    [197.5, 17.37228509],
    [198.5, 17.41995236],
    [199.5, 17.46749315],
    [200.5, 17.51489451],
    [201.5, 17.56214342],
    [202.5, 17.60922679],
    [203.5, 17.65613146],
    [204.5, 17.70284417],
    [205.5, 17.74935161],
    [206.5, 17.79564039],
    [207.5, 17.84169701],
    [208.5, 17.8875079],
    [209.5, 17.9330594],
    [210.5, 17.97833773],
    [211.5, 18.02332903],
    [212.5, 18.06801933],
    [213.5, 18.11239453],
    [214.5, 18.15644042],
    [215.5, 18.20014256],
    [216.5, 18.24348662],
    [217.5, 18.28645727],
    [218.5, 18.32904183],
    [219.5, 18.37122369],
    [220.5, 18.41298696],
    [221.5, 18.45431794],
    [222.5, 18.49520062],
    [223.5, 18.53561932],
    [224.5, 18.57555819],
    [225.5, 18.61500111],
    [226.5, 18.65393178],
    [227.5, 18.69233437],
    [228.5, 18.73019025],
    [229.5, 18.7674838],
    [230.5, 18.80419732],
    [231.5, 18.84031318],
    [232.5, 18.87581348],
    [233.5, 18.91067999],
    [234.5, 18.9448942],
    [235.5, 18.97843726],
    [236.5, 19.0112887],
    [237.5, 19.04343134],
    [238.5, 19.07484425],
    [239.5, 19.10550722],
    [240, 19.12055111],
    [240.5, 19.13539969]

];

var bmi_male_10th = [
    [24, 15.09032827],
    [24.5, 15.07117474],
    [25.5, 15.03335725],
    [26.5, 14.99619505],
    [27.5, 14.95969047],
    [28.5, 14.92384514],
    [29.5, 14.88866003],
    [30.5, 14.85413557],
    [31.5, 14.82027189],
    [32.5, 14.7870687],
    [33.5, 14.7545259],
    [34.5, 14.72264343],
    [35.5, 14.69142152],
    [36.5, 14.66086088],
    [37.5, 14.63096272],
    [38.5, 14.60172936],
    [39.5, 14.57316316],
    [40.5, 14.54526806],
    [41.5, 14.51804847],
    [42.5, 14.49150978],
    [43.5, 14.4656578],
    [44.5, 14.44049947],
    [45.5, 14.4160421],
    [46.5, 14.392293],
    [47.5, 14.36926],
    [48.5, 14.34695084],
    [49.5, 14.32537305],
    [50.5, 14.30453377],
    [51.5, 14.2844396],
    [52.5, 14.26509665],
    [53.5, 14.24650943],
    [54.5, 14.22868271],
    [55.5, 14.21161954],
    [56.5, 14.19532216],
    [57.5, 14.1797919],
    [58.5, 14.16502885],
    [59.5, 14.15103287],
    [60.5, 14.13780261],
    [61.5, 14.1253362],
    [62.5, 14.11363117],
    [63.5, 14.10268433],
    [64.5, 14.09249299],
    [65.5, 14.08305345],
    [66.5, 14.0743621],
    [67.5, 14.06641528],
    [68.5, 14.05920932],
    [69.5, 14.05274063],
    [70.5, 14.04700569],
    [71.5, 14.04200114],
    [72.5, 14.03772376],
    [73.5, 14.03417051],
    [74.5, 14.03133851],
    [75.5, 14.02922475],
    [76.5, 14.02782718],
    [77.5, 14.02714319],
    [78.5, 14.0271705],
    [79.5, 14.027907],
    [80.5, 14.02935081],
    [81.5, 14.03149952],
    [82.5, 14.03435159],
    [83.5, 14.03790521],
    [84.5, 14.0421586],
    [85.5, 14.04710998],
    [86.5, 14.05275762],
    [87.5, 14.05909975],
    [88.5, 14.06613458],
    [89.5, 14.0738604],
    [90.5, 14.08227508],
    [91.5, 14.091377],
    [92.5, 14.10116411],
    [93.5, 14.1116344],
    [94.5, 14.12278578],
    [95.5, 14.13461608],
    [96.5, 14.14712305],
    [97.5, 14.16030433],
    [98.5, 14.17415743],
    [99.5, 14.18867999],
    [100.5, 14.20386916],
    [101.5, 14.21972223],
    [102.5, 14.23623642],
    [103.5, 14.25340873],
    [104.5, 14.27123591],
    [105.5, 14.28971516],
    [106.5, 14.30884292],
    [107.5, 14.32861592],
    [108.5, 14.3490301],
    [109.5, 14.37008248],
    [110.5, 14.39176909],
    [111.5, 14.41408598],
    [112.5, 14.43702918],
    [113.5, 14.46059456],
    [114.5, 14.48477791],
    [115.5, 14.50957485],
    [116.5, 14.53498094],
    [117.5, 14.56099157],
    [118.5, 14.58760204],
    [119.5, 14.61480754],
    [120.5, 14.64260311],
    [121.5, 14.67098376],
    [122.5, 14.6999442],
    [123.5, 14.72947925],
    [124.5, 14.75958347],
    [125.5, 14.79025137],
    [126.5, 14.8214773],
    [127.5, 14.85325552],
    [128.5, 14.88558018],
    [129.5, 14.91844531],
    [130.5, 14.95184482],
    [131.5, 14.98577251],
    [132.5, 15.02022206],
    [133.5, 15.05518706],
    [134.5, 15.09066095],
    [135.5, 15.1266371],
    [136.5, 15.16310811],
    [137.5, 15.20006805],
    [138.5, 15.23750958],
    [139.5, 15.27542561],
    [140.5, 15.31380892],
    [141.5, 15.3526522],
    [142.5, 15.39194804],
    [143.5, 15.43168891],
    [144.5, 15.47186716],
    [145.5, 15.51247506],
    [146.5, 15.55350476],
    [147.5, 15.5949483],
    [148.5, 15.63679762],
    [149.5, 15.67904455],
    [150.5, 15.72168083],
    [151.5, 15.76469808],
    [152.5, 15.80808782],
    [153.5, 15.85184148],
    [154.5, 15.89595038],
    [155.5, 15.94040572],
    [156.5, 15.98519864],
    [157.5, 16.03032014],
    [158.5, 16.07576115],
    [159.5, 16.12151248],
    [160.5, 16.16756484],
    [161.5, 16.21390888],
    [162.5, 16.2605351],
    [163.5, 16.30743394],
    [164.5, 16.35459573],
    [165.5, 16.40201071],
    [166.5, 16.44966902],
    [167.5, 16.49756071],
    [168.5, 16.54567574],
    [169.5, 16.59400398],
    [170.5, 16.64253518],
    [171.5, 16.69125904],
    [172.5, 16.74016514],
    [173.5, 16.78924297],
    [174.5, 16.83848195],
    [175.5, 16.8878714],
    [176.5, 16.93740054],
    [177.5, 16.98705851],
    [178.5, 17.03683437],
    [179.5, 17.08671707],
    [180.5, 17.13669551],
    [181.5, 17.18675845],
    [182.5, 17.23689462],
    [183.5, 17.28709261],
    [184.5, 17.33734097],
    [185.5, 17.38762812],
    [186.5, 17.43794242],
    [187.5, 17.48827215],
    [188.5, 17.53860547],
    [189.5, 17.58893048],
    [190.5, 17.63923518],
    [191.5, 17.68950749],
    [192.5, 17.73973524],
    [193.5, 17.78990616],
    [194.5, 17.8400079],
    [195.5, 17.89002837],
    [196.5, 17.93995429],
    [197.5, 17.98977343],
    [198.5, 18.03947307],
    [199.5, 18.0890404],
    [200.5, 18.1384625],
    [201.5, 18.18772638],
    [202.5, 18.23681892],
    [203.5, 18.28572693],
    [204.5, 18.3344371],
    [205.5, 18.38293604],
    [206.5, 18.43121023],
    [207.5, 18.47924607],
    [208.5, 18.52702984],
    [209.5, 18.57454772],
    [210.5, 18.62178578],
    [211.5, 18.66872998],
    [212.5, 18.71536617],
    [213.5, 18.76168008],
    [214.5, 18.80765734],
    [215.5, 18.8532834],
    [216.5, 18.89854373],
    [217.5, 18.94342321],
    [218.5, 18.98790813],
    [219.5, 19.03198262],
    [220.5, 19.07563119],
    [221.5, 19.11883943],
    [222.5, 19.16159172],
    [223.5, 19.2038726],
    [224.5, 19.24566649],
    [225.5, 19.28695764],
    [226.5, 19.32773023],
    [227.5, 19.36796858],
    [228.5, 19.40765581],
    [229.5, 19.44677624],
    [230.5, 19.48531336],
    [231.5, 19.52325062],
    [232.5, 19.56057136],
    [233.5, 19.59725875],
    [234.5, 19.63329582],
    [235.5, 19.66866547],
    [236.5, 19.70334974],
    [237.5, 19.7373324],
    [238.5, 19.7705953],
    [239.5, 19.80312068],
    [240, 19.81910123],
    [240.5, 19.83489061]

];

var bmi_male_25th = [
    [24, 15.74164233],
    [24.5, 15.71962876],
    [25.5, 15.67634464],
    [26.5, 15.634035],
    [27.5, 15.5926798],
    [28.5, 15.55225853],
    [29.5, 15.51275057],
    [30.5, 15.47413549],
    [31.5, 15.43639319],
    [32.5, 15.39950521],
    [33.5, 15.36345335],
    [34.5, 15.32822125],
    [35.5, 15.2937943],
    [36.5, 15.26015988],
    [37.5, 15.22730791],
    [38.5, 15.1952288],
    [39.5, 15.16391901],
    [40.5, 15.13337382],
    [41.5, 15.10359281],
    [42.5, 15.07457728],
    [43.5, 15.04633235],
    [44.5, 15.01886319],
    [45.5, 14.99217766],
    [46.5, 14.96628719],
    [47.5, 14.94120325],
    [48.5, 14.91693911],
    [49.5, 14.89350913],
    [50.5, 14.87092845],
    [51.5, 14.84921259],
    [52.5, 14.82837662],
    [53.5, 14.80843749],
    [54.5, 14.7894083],
    [55.5, 14.77130343],
    [56.5, 14.75413556],
    [57.5, 14.73791599],
    [58.5, 14.72265501],
    [59.5, 14.70836004],
    [60.5, 14.69503764],
    [61.5, 14.68269244],
    [62.5, 14.67132735],
    [63.5, 14.66094403],
    [64.5, 14.65154144],
    [65.5, 14.64311821],
    [66.5, 14.63567131],
    [67.5, 14.62919656],
    [68.5, 14.62368881],
    [69.5, 14.619142],
    [70.5, 14.61554938],
    [71.5, 14.6129036],
    [72.5, 14.61119682],
    [73.5, 14.61042085],
    [74.5, 14.61056719],
    [75.5, 14.61162737],
    [76.5, 14.61359223],
    [77.5, 14.61645307],
    [78.5, 14.62020097],
    [79.5, 14.62482705],
    [80.5, 14.63032238],
    [81.5, 14.63667844],
    [82.5, 14.64388639],
    [83.5, 14.65193763],
    [84.5, 14.66082372],
    [85.5, 14.67053629],
    [86.5, 14.68106712],
    [87.5, 14.69240809],
    [88.5, 14.7045512],
    [89.5, 14.71748869],
    [90.5, 14.73121238],
    [91.5, 14.74571498],
    [92.5, 14.76098876],
    [93.5, 14.77702622],
    [94.5, 14.79381994],
    [95.5, 14.81136258],
    [96.5, 14.82964685],
    [97.5, 14.84866554],
    [98.5, 14.86841153],
    [99.5, 14.88887764],
    [100.5, 14.91005687],
    [101.5, 14.93194218],
    [102.5, 14.95452659],
    [103.5, 14.97780313],
    [104.5, 15.00176488],
    [105.5, 15.02640489],
    [106.5, 15.05171626],
    [107.5, 15.07769209],
    [108.5, 15.10432556],
    [109.5, 15.13160968],
    [110.5, 15.15953759],
    [111.5, 15.1881024],
    [112.5, 15.21729722],
    [113.5, 15.2471151],
    [114.5, 15.27754914],
    [115.5, 15.30859238],
    [116.5, 15.34023785],
    [117.5, 15.37247856],
    [118.5, 15.40530752],
    [119.5, 15.43871766],
    [120.5, 15.47270195],
    [121.5, 15.50725326],
    [122.5, 15.5423645],
    [123.5, 15.57802849],
    [124.5, 15.61423805],
    [125.5, 15.65098595],
    [126.5, 15.68826493],
    [127.5, 15.72606768],
    [128.5, 15.76438688],
    [129.5, 15.80321513],
    [130.5, 15.84254502],
    [131.5, 15.8823691],
    [132.5, 15.92267985],
    [133.5, 15.96346973],
    [134.5, 16.00473115],
    [135.5, 16.04645648],
    [136.5, 16.08863812],
    [137.5, 16.13126821],
    [138.5, 16.17433905],
    [139.5, 16.21784281],
    [140.5, 16.26177162],
    [141.5, 16.30611758],
    [142.5, 16.35087272],
    [143.5, 16.39602903],
    [144.5, 16.44157847],
    [145.5, 16.48751291],
    [146.5, 16.53382421],
    [147.5, 16.58050415],
    [148.5, 16.62754449],
    [149.5, 16.67493692],
    [150.5, 16.72267307],
    [151.5, 16.77074454],
    [152.5, 16.81914286],
    [153.5, 16.86785954],
    [154.5, 16.91688599],
    [155.5, 16.96621361],
    [156.5, 17.01583373],
    [157.5, 17.06573761],
    [158.5, 17.11591649],
    [159.5, 17.16636153],
    [160.5, 17.21706384],
    [161.5, 17.26801449],
    [162.5, 17.31920447],
    [163.5, 17.37062472],
    [164.5, 17.42226614],
    [165.5, 17.47411956],
    [166.5, 17.52617573],
    [167.5, 17.57842539],
    [168.5, 17.63085916],
    [169.5, 17.68346764],
    [170.5, 17.73624136],
    [171.5, 17.78917078],
    [172.5, 17.84224628],
    [173.5, 17.8954582],
    [174.5, 17.9487968],
    [175.5, 18.00225228],
    [176.5, 18.05581474],
    [177.5, 18.10947424],
    [178.5, 18.16322076],
    [179.5, 18.21704418],
    [180.5, 18.27093434],
    [181.5, 18.32488097],
    [182.5, 18.37887373],
    [183.5, 18.4329022],
    [184.5, 18.48695587],
    [185.5, 18.54102414],
    [186.5, 18.59509632],
    [187.5, 18.64916164],
    [188.5, 18.70320922],
    [189.5, 18.7572281],
    [190.5, 18.8112072],
    [191.5, 18.86513537],
    [192.5, 18.91900132],
    [193.5, 18.97279368],
    [194.5, 19.02650098],
    [195.5, 19.08011149],
    [196.5, 19.13361379],
    [197.5, 19.18699593],
    [198.5, 19.24024598],
    [199.5, 19.29335192],
    [200.5, 19.34630158],
    [201.5, 19.39908272],
    [202.5, 19.45168294],
    [203.5, 19.50408975],
    [204.5, 19.55629056],
    [205.5, 19.60827264],
    [206.5, 19.66002316],
    [207.5, 19.71152919],
    [208.5, 19.76277767],
    [209.5, 19.81375546],
    [210.5, 19.8644493],
    [211.5, 19.91484586],
    [212.5, 19.96493169],
    [213.5, 20.01469327],
    [214.5, 20.06411699],
    [215.5, 20.11318921],
    [216.5, 20.16189615],
    [217.5, 20.21022414],
    [218.5, 20.25815885],
    [219.5, 20.3056868],
    [220.5, 20.35279433],
    [221.5, 20.39946695],
    [222.5, 20.44569089],
    [223.5, 20.49145219],
    [224.5, 20.53673687],
    [225.5, 20.581531],
    [226.5, 20.62582066],
    [227.5, 20.66959159],
    [228.5, 20.71283095],
    [229.5, 20.75552409],
    [230.5, 20.79765756],
    [231.5, 20.83921773],
    [232.5, 20.88019106],
    [233.5, 20.9205641],
    [234.5, 20.96032349],
    [235.5, 20.99945599],
    [236.5, 21.03794885],
    [237.5, 21.07578835],
    [238.5, 21.11296191],
    [239.5, 21.14945673],
    [240, 21.16744563],
    [240.5, 21.18526014]

];

var bmi_male_50th = [
    [24, 16.57502768],
    [24.5, 16.54777487],
    [25.5, 16.49442763],
    [26.5, 16.44259552],
    [27.5, 16.3922434],
    [28.5, 16.34333654],
    [29.5, 16.29584097],
    [30.5, 16.24972371],
    [31.5, 16.20495268],
    [32.5, 16.16149871],
    [33.5, 16.11933258],
    [34.5, 16.07842758],
    [35.5, 16.03875896],
    [36.5, 16.00030401],
    [37.5, 15.96304277],
    [38.5, 15.92695418],
    [39.5, 15.89202582],
    [40.5, 15.85824093],
    [41.5, 15.82558822],
    [42.5, 15.79405728],
    [43.5, 15.76364255],
    [44.5, 15.73433668],
    [45.5, 15.70613566],
    [46.5, 15.67904062],
    [47.5, 15.65305192],
    [48.5, 15.62817269],
    [49.5, 15.604408],
    [50.5, 15.58176458],
    [51.5, 15.56025067],
    [52.5, 15.5398746],
    [53.5, 15.52064993],
    [54.5, 15.50258427],
    [55.5, 15.48568973],
    [56.5, 15.46997718],
    [57.5, 15.45545692],
    [58.5, 15.44213961],
    [59.5, 15.43003207],
    [60.5, 15.41914163],
    [61.5, 15.40947356],
    [62.5, 15.40103139],
    [63.5, 15.39381785],
    [64.5, 15.38783094],
    [65.5, 15.38306945],
    [66.5, 15.37952958],
    [67.5, 15.37720582],
    [68.5, 15.37609107],
    [69.5, 15.37617677],
    [70.5, 15.37745304],
    [71.5, 15.37990886],
    [72.5, 15.38353217],
    [73.5, 15.38831005],
    [74.5, 15.39422883],
    [75.5, 15.40127496],
    [76.5, 15.40943252],
    [77.5, 15.41868691],
    [78.5, 15.42902273],
    [79.5, 15.44042439],
    [80.5, 15.45287581],
    [81.5, 15.46636218],
    [82.5, 15.48086704],
    [83.5, 15.49637465],
    [84.5, 15.51286936],
    [85.5, 15.53033563],
    [86.5, 15.54875807],
    [87.5, 15.56812143],
    [88.5, 15.58841065],
    [89.5, 15.60961101],
    [90.5, 15.63170735],
    [91.5, 15.65468563],
    [92.5, 15.67853139],
    [93.5, 15.70323052],
    [94.5, 15.72876911],
    [95.5, 15.75513347],
    [96.5, 15.78231007],
    [97.5, 15.8102856],
    [98.5, 15.83904708],
    [99.5, 15.86858123],
    [100.5, 15.89887562],
    [101.5, 15.92991765],
    [102.5, 15.96169481],
    [103.5, 15.99419489],
    [104.5, 16.02740607],
    [105.5, 16.0613159],
    [106.5, 16.09591292],
    [107.5, 16.13118532],
    [108.5, 16.16712234],
    [109.5, 16.20371168],
    [110.5, 16.24094239],
    [111.5, 16.27880346],
    [112.5, 16.31728385],
    [113.5, 16.35637267],
    [114.5, 16.39605916],
    [115.5, 16.43633265],
    [116.5, 16.47718256],
    [117.5, 16.51859843],
    [118.5, 16.56056987],
    [119.5, 16.60308661],
    [120.5, 16.64613844],
    [121.5, 16.68971518],
    [122.5, 16.73380695],
    [123.5, 16.77840363],
    [124.5, 16.82349538],
    [125.5, 16.86907238],
    [126.5, 16.91512487],
    [127.5, 16.96164317],
    [128.5, 17.00861766],
    [129.5, 17.05603879],
    [130.5, 17.10389705],
    [131.5, 17.15218302],
    [132.5, 17.20088732],
    [133.5, 17.25000062],
    [134.5, 17.29951367],
    [135.5, 17.34941726],
    [136.5, 17.39970308],
    [137.5, 17.45036072],
    [138.5, 17.50138161],
    [139.5, 17.55275674],
    [140.5, 17.60447714],
    [141.5, 17.6565339],
    [142.5, 17.70891811],
    [143.5, 17.76162094],
    [144.5, 17.81463359],
    [145.5, 17.86794729],
    [146.5, 17.92155332],
    [147.5, 17.97544299],
    [148.5, 18.02960765],
    [149.5, 18.08403868],
    [150.5, 18.1387275],
    [151.5, 18.19366555],
    [152.5, 18.24884431],
    [153.5, 18.3042553],
    [154.5, 18.35989003],
    [155.5, 18.41574009],
    [156.5, 18.47179706],
    [157.5, 18.52805255],
    [158.5, 18.5844982],
    [159.5, 18.64112567],
    [160.5, 18.69792663],
    [161.5, 18.75489278],
    [162.5, 18.81201584],
    [163.5, 18.86928753],
    [164.5, 18.92669959],
    [165.5, 18.98424378],
    [166.5, 19.04191185],
    [167.5, 19.09969557],
    [168.5, 19.15758672],
    [169.5, 19.21557707],
    [170.5, 19.27365839],
    [171.5, 19.33182247],
    [172.5, 19.39006106],
    [173.5, 19.44836594],
    [174.5, 19.50672885],
    [175.5, 19.56514153],
    [176.5, 19.62359571],
    [177.5, 19.6820831],
    [178.5, 19.74059538],
    [179.5, 19.7991242],
    [180.5, 19.85766121],
    [181.5, 19.916198],
    [182.5, 19.97472615],
    [183.5, 20.03323719],
    [184.5, 20.09172262],
    [185.5, 20.15017387],
    [186.5, 20.20858236],
    [187.5, 20.26693944],
    [188.5, 20.32523642],
    [189.5, 20.38346455],
    [190.5, 20.44161501],
    [191.5, 20.49967894],
    [192.5, 20.5576474],
    [193.5, 20.6155114],
    [194.5, 20.67326189],
    [195.5, 20.73088905],
    [196.5, 20.7883851],
    [197.5, 20.84574003],
    [198.5, 20.90294449],
    [199.5, 20.95998909],
    [200.5, 21.01686433],
    [201.5, 21.07356067],
    [202.5, 21.1300685],
    [203.5, 21.18637813],
    [204.5, 21.24247982],
    [205.5, 21.29836376],
    [206.5, 21.35402009],
    [207.5, 21.40943891],
    [208.5, 21.46461026],
    [209.5, 21.51952414],
    [210.5, 21.57417053],
    [211.5, 21.62853937],
    [212.5, 21.68262062],
    [213.5, 21.73640419],
    [214.5, 21.78988003],
    [215.5, 21.84303819],
    [216.5, 21.8958685],
    [217.5, 21.94836168],
    [218.5, 22.00050569],
    [219.5, 22.05229242],
    [220.5, 22.10371305],
    [221.5, 22.15475603],
    [222.5, 22.20541249],
    [223.5, 22.255673],
    [224.5, 22.30552831],
    [225.5, 22.3549693],
    [226.5, 22.40398706],
    [227.5, 22.45257182],
    [228.5, 22.50071778],
    [229.5, 22.54841437],
    [230.5, 22.59565422],
    [231.5, 22.64242956],
    [232.5, 22.68873292],
    [233.5, 22.73455713],
    [234.5, 22.7798953],
    [235.5, 22.82474087],
    [236.5, 22.86908912],
    [237.5, 22.91293151],
    [238.5, 22.95626373],
    [239.5, 22.99908062],
    [240, 23.02029424],
    [240.5, 23.04137734]

];

var bmi_male_75th = [
    [24, 17.55718781],
    [24.5, 17.52129279],
    [25.5, 17.45135039],
    [26.5, 17.38383656],
    [27.5, 17.3187102],
    [28.5, 17.2559313],
    [29.5, 17.19546093],
    [30.5, 17.13726129],
    [31.5, 17.0812953],
    [32.5, 17.02752831],
    [33.5, 16.97592485],
    [34.5, 16.92645101],
    [35.5, 16.87907357],
    [36.5, 16.8337599],
    [37.5, 16.79047852],
    [38.5, 16.74919525],
    [39.5, 16.70988247],
    [40.5, 16.67250668],
    [41.5, 16.63703787],
    [42.5, 16.60344521],
    [43.5, 16.57170092],
    [44.5, 16.54177412],
    [45.5, 16.51363577],
    [46.5, 16.48726082],
    [47.5, 16.46262258],
    [48.5, 16.43969657],
    [49.5, 16.41845985],
    [50.5, 16.39889119],
    [51.5, 16.38097113],
    [52.5, 16.36468088],
    [53.5, 16.3500079],
    [54.5, 16.33693462],
    [55.5, 16.32544946],
    [56.5, 16.31554106],
    [57.5, 16.30719914],
    [58.5, 16.30041561],
    [59.5, 16.29517994],
    [60.5, 16.29148397],
    [61.5, 16.28931904],
    [62.5, 16.28867619],
    [63.5, 16.28954723],
    [64.5, 16.29191982],
    [65.5, 16.29578396],
    [66.5, 16.30112773],
    [67.5, 16.30793819],
    [68.5, 16.31620135],
    [69.5, 16.32590217],
    [70.5, 16.33702456],
    [71.5, 16.34955145],
    [72.5, 16.36346484],
    [73.5, 16.37874588],
    [74.5, 16.39537493],
    [75.5, 16.41333266],
    [76.5, 16.43259653],
    [77.5, 16.45314588],
    [78.5, 16.47495885],
    [79.5, 16.49801329],
    [80.5, 16.52228624],
    [81.5, 16.54775649],
    [82.5, 16.57440029],
    [83.5, 16.6021948],
    [84.5, 16.6311172],
    [85.5, 16.66114466],
    [86.5, 16.69225445],
    [87.5, 16.72442396],
    [88.5, 16.7576307],
    [89.5, 16.79185246],
    [90.5, 16.82706672],
    [91.5, 16.86325188],
    [92.5, 16.90038609],
    [93.5, 16.9384478],
    [94.5, 16.97741575],
    [95.5, 17.01726889],
    [96.5, 17.05798645],
    [97.5, 17.09954792],
    [98.5, 17.14193325],
    [99.5, 17.18512191],
    [100.5, 17.22909475],
    [101.5, 17.2738323],
    [102.5, 17.31931519],
    [103.5, 17.36552463],
    [104.5, 17.4124424],
    [105.5, 17.46004925],
    [106.5, 17.50832768],
    [107.5, 17.55725951],
    [108.5, 17.60682848],
    [109.5, 17.65701563],
    [110.5, 17.70780444],
    [111.5, 17.75917825],
    [112.5, 17.81112044],
    [113.5, 17.86361469],
    [114.5, 17.91664493],
    [115.5, 17.97019532],
    [116.5, 18.02425026],
    [117.5, 18.0787944],
    [118.5, 18.13381258],
    [119.5, 18.1892899],
    [120.5, 18.24521166],
    [121.5, 18.3015633],
    [122.5, 18.35833084],
    [123.5, 18.41549995],
    [124.5, 18.4730569],
    [125.5, 18.53098805],
    [126.5, 18.58928],
    [127.5, 18.64791953],
    [128.5, 18.70689364],
    [129.5, 18.76618951],
    [130.5, 18.82579454],
    [131.5, 18.88569633],
    [132.5, 18.94588267],
    [133.5, 19.00634155],
    [134.5, 19.06706116],
    [135.5, 19.12802987],
    [136.5, 19.18923776],
    [137.5, 19.25067129],
    [138.5, 19.31232029],
    [139.5, 19.37417388],
    [140.5, 19.43622137],
    [141.5, 19.49845226],
    [142.5, 19.5608562],
    [143.5, 19.62342306],
    [144.5, 19.68614286],
    [145.5, 19.74900579],
    [146.5, 19.81200224],
    [147.5, 19.87512275],
    [148.5, 19.93835804],
    [149.5, 20.001699],
    [150.5, 20.06513669],
    [151.5, 20.12866232],
    [152.5, 20.1922673],
    [153.5, 20.25594317],
    [154.5, 20.31968165],
    [155.5, 20.38347461],
    [156.5, 20.44731409],
    [157.5, 20.51119228],
    [158.5, 20.57510153],
    [159.5, 20.63903434],
    [160.5, 20.70298336],
    [161.5, 20.76694139],
    [162.5, 20.83090139],
    [163.5, 20.89485646],
    [164.5, 20.95879983],
    [165.5, 21.02272489],
    [166.5, 21.08662518],
    [167.5, 21.15049434],
    [168.5, 21.21432619],
    [169.5, 21.27811465],
    [170.5, 21.34185379],
    [171.5, 21.40553781],
    [172.5, 21.46916104],
    [173.5, 21.53271791],
    [174.5, 21.596203],
    [175.5, 21.659611],
    [176.5, 21.72293673],
    [177.5, 21.78617511],
    [178.5, 21.84932117],
    [179.5, 21.91237008],
    [180.5, 21.97531708],
    [181.5, 22.03815755],
    [182.5, 22.10088696],
    [183.5, 22.16350089],
    [184.5, 22.22599501],
    [185.5, 22.2883651],
    [186.5, 22.35060703],
    [187.5, 22.41271676],
    [188.5, 22.47469037],
    [189.5, 22.53652401],
    [190.5, 22.59821392],
    [191.5, 22.65975645],
    [192.5, 22.72114803],
    [193.5, 22.78238517],
    [194.5, 22.84346448],
    [195.5, 22.90438167],
    [196.5, 22.96513563],
    [197.5, 23.02572213],
    [198.5, 23.08613815],
    [199.5, 23.14638076],
    [200.5, 23.20644712],
    [201.5, 23.26633451],
    [202.5, 23.3260403],
    [203.5, 23.38556196],
    [204.5, 23.44489706],
    [205.5, 23.50404332],
    [206.5, 23.56299853],
    [207.5, 23.62176064],
    [208.5, 23.68032771],
    [209.5, 23.73869794],
    [210.5, 23.79686967],
    [211.5, 23.85484139],
    [212.5, 23.91261174],
    [213.5, 23.97017953],
    [214.5, 24.02754374],
    [215.5, 24.08470367],
    [216.5, 24.14165845],
    [217.5, 24.19840866],
    [218.5, 24.25495098],
    [219.5, 24.31128792],
    [220.5, 24.36742097],
    [221.5, 24.42334799],
    [222.5, 24.47907063],
    [223.5, 24.53458985],
    [224.5, 24.58990692],
    [225.5, 24.64502338],
    [226.5, 24.69994107],
    [227.5, 24.75466075],
    [228.5, 24.80918852],
    [229.5, 24.86352415],
    [230.5, 24.91767166],
    [231.5, 24.97163459],
    [232.5, 25.02541685],
    [233.5, 25.07902274],
    [234.5, 25.13245693],
    [235.5, 25.18572453],
    [236.5, 25.23883315],
    [237.5, 25.29178502],
    [238.5, 25.34458825],
    [239.5, 25.39724967],
    [240, 25.4235294],
    [240.5, 25.44977657]

];

var bmi_male_85th = [
    [24, 18.16219473],
    [24.5, 18.11954923],
    [25.5, 18.03668013],
    [26.5, 17.95700228],
    [27.5, 17.88047101],
    [28.5, 17.80704259],
    [29.5, 17.73667414],
    [30.5, 17.66932346],
    [31.5, 17.6049486],
    [32.5, 17.54350898],
    [33.5, 17.48496295],
    [34.5, 17.42926933],
    [35.5, 17.37638677],
    [36.5, 17.32627356],
    [37.5, 17.27888795],
    [38.5, 17.23418554],
    [39.5, 17.19212545],
    [40.5, 17.15266201],
    [41.5, 17.11575098],
    [42.5, 17.08134677],
    [43.5, 17.04940504],
    [44.5, 17.0198786],
    [45.5, 16.99272087],
    [46.5, 16.96788739],
    [47.5, 16.94533215],
    [48.5, 16.92501028],
    [49.5, 16.90687779],
    [50.5, 16.89089179],
    [51.5, 16.87701073],
    [52.5, 16.86519374],
    [53.5, 16.85540483],
    [54.5, 16.8476049],
    [55.5, 16.84175987],
    [56.5, 16.8378366],
    [57.5, 16.83580365],
    [58.5, 16.83563223],
    [59.5, 16.83729272],
    [60.5, 16.84075838],
    [61.5, 16.84600319],
    [62.5, 16.85300198],
    [63.5, 16.86173124],
    [64.5, 16.87216519],
    [65.5, 16.88428085],
    [66.5, 16.89805459],
    [67.5, 16.91346275],
    [68.5, 16.93048153],
    [69.5, 16.94908693],
    [70.5, 16.96925461],
    [71.5, 16.99095993],
    [72.5, 17.01417786],
    [73.5, 17.03888299],
    [74.5, 17.06504953],
    [75.5, 17.09265223],
    [76.5, 17.12166319],
    [77.5, 17.15205629],
    [78.5, 17.18380454],
    [79.5, 17.21688072],
    [80.5, 17.25125697],
    [81.5, 17.28690708],
    [82.5, 17.32380254],
    [83.5, 17.3619157],
    [84.5, 17.40121891],
    [85.5, 17.44168456],
    [86.5, 17.48328513],
    [87.5, 17.52599317],
    [88.5, 17.56978138],
    [89.5, 17.61462266],
    [90.5, 17.66048985],
    [91.5, 17.70735632],
    [92.5, 17.75519541],
    [93.5, 17.80398077],
    [94.5, 17.85368626],
    [95.5, 17.90428602],
    [96.5, 17.95575444],
    [97.5, 18.00806622],
    [98.5, 18.06119653],
    [99.5, 18.1151201],
    [100.5, 18.16981303],
    [101.5, 18.22525119],
    [102.5, 18.28141055],
    [103.5, 18.33826774],
    [104.5, 18.39579999],
    [105.5, 18.45398355],
    [106.5, 18.51279647],
    [107.5, 18.57221621],
    [108.5, 18.63222223],
    [109.5, 18.69279128],
    [110.5, 18.75390266],
    [111.5, 18.81553565],
    [112.5, 18.87766958],
    [113.5, 18.94028419],
    [114.5, 19.00335954],
    [115.5, 19.06687603],
    [116.5, 19.13081436],
    [117.5, 19.19515554],
    [118.5, 19.25988094],
    [119.5, 19.3249722],
    [120.5, 19.3904113],
    [121.5, 19.45618042],
    [122.5, 19.52226247],
    [123.5, 19.58864006],
    [124.5, 19.65529649],
    [125.5, 19.72221531],
    [126.5, 19.78938034],
    [127.5, 19.85677572],
    [128.5, 19.92438591],
    [129.5, 19.99219565],
    [130.5, 20.06019002],
    [131.5, 20.12835437],
    [132.5, 20.19667437],
    [133.5, 20.265136],
    [134.5, 20.33372554],
    [135.5, 20.40242956],
    [136.5, 20.4712365],
    [137.5, 20.54013114],
    [138.5, 20.60910189],
    [139.5, 20.6781365],
    [140.5, 20.74722303],
    [141.5, 20.81634983],
    [142.5, 20.88550554],
    [143.5, 20.95467909],
    [144.5, 21.02385969],
    [145.5, 21.09303687],
    [146.5, 21.1622004],
    [147.5, 21.23134038],
    [148.5, 21.30044717],
    [149.5, 21.36951141],
    [150.5, 21.43852405],
    [151.5, 21.5074763],
    [152.5, 21.57635964],
    [153.5, 21.64516586],
    [154.5, 21.71388701],
    [155.5, 21.78251541],
    [156.5, 21.85104367],
    [157.5, 21.91946467],
    [158.5, 21.98777156],
    [159.5, 22.05595776],
    [160.5, 22.12401698],
    [161.5, 22.19194317],
    [162.5, 22.25973057],
    [163.5, 22.32737368],
    [164.5, 22.39486727],
    [165.5, 22.46220636],
    [166.5, 22.52938625],
    [167.5, 22.5964025],
    [168.5, 22.66325092],
    [169.5, 22.7299276],
    [170.5, 22.79642886],
    [171.5, 22.86275131],
    [172.5, 22.92889179],
    [173.5, 22.99484741],
    [174.5, 23.06061552],
    [175.5, 23.12619375],
    [176.5, 23.19157996],
    [177.5, 23.25677226],
    [178.5, 23.32176902],
    [179.5, 23.38656886],
    [180.5, 23.45117065],
    [181.5, 23.5155735],
    [182.5, 23.57977678],
    [183.5, 23.6437801],
    [184.5, 23.70758332],
    [185.5, 23.77118654],
    [186.5, 23.83459013],
    [187.5, 23.89779468],
    [188.5, 23.96080104],
    [189.5, 24.02361032],
    [190.5, 24.08622386],
    [191.5, 24.14864327],
    [192.5, 24.21087038],
    [193.5, 24.2729073],
    [194.5, 24.33475639],
    [195.5, 24.39641931],
    [196.5, 24.4579009],
    [197.5, 24.51920324],
    [198.5, 24.58032971],
    [199.5, 24.64128395],
    [200.5, 24.70206989],
    [201.5, 24.76269168],
    [202.5, 24.82315378],
    [203.5, 24.88346091],
    [204.5, 24.94361805],
    [205.5, 25.00363048],
    [206.5, 25.06350375],
    [207.5, 25.1232437],
    [208.5, 25.18285645],
    [209.5, 25.24234842],
    [210.5, 25.30172632],
    [211.5, 25.36099716],
    [212.5, 25.42016826],
    [213.5, 25.47924723],
    [214.5, 25.538242],
    [215.5, 25.59716095],
    [216.5, 25.65601244],
    [217.5, 25.71480629],
    [218.5, 25.77354888],
    [219.5, 25.83225207],
    [220.5, 25.89092687],
    [221.5, 25.94958116],
    [222.5, 26.00822631],
    [223.5, 26.06687321],
    [224.5, 26.1255331],
    [225.5, 26.18421759],
    [226.5, 26.24293861],
    [227.5, 26.30170723],
    [228.5, 26.36053932],
    [229.5, 26.41944523],
    [230.5, 26.47843912],
    [231.5, 26.53753478],
    [232.5, 26.59674639],
    [233.5, 26.65608851],
    [234.5, 26.71557609],
    [235.5, 26.77522448],
    [236.5, 26.83505132],
    [237.5, 26.89506944],
    [238.5, 26.95529697],
    [239.5, 27.01575092],
    [240, 27.04606818],
    [240.5, 27.07644874]

];

var bmi_male_90th = [
    [24, 18.60948128],
    [24.5, 18.56110634],
    [25.5, 18.46729593],
    [26.5, 18.37736191],
    [27.5, 18.29125345],
    [28.5, 18.20892041],
    [29.5, 18.1303131],
    [30.5, 18.05538214],
    [31.5, 17.98407812],
    [32.5, 17.91635198],
    [33.5, 17.85215384],
    [34.5, 17.79143359],
    [35.5, 17.73414053],
    [36.5, 17.68022325],
    [37.5, 17.62962965],
    [38.5, 17.58230587],
    [39.5, 17.53819888],
    [40.5, 17.49725289],
    [41.5, 17.45941207],
    [42.5, 17.42461935],
    [43.5, 17.39281759],
    [44.5, 17.36394785],
    [45.5, 17.33795095],
    [46.5, 17.31476822],
    [47.5, 17.29433999],
    [48.5, 17.27660684],
    [49.5, 17.26150966],
    [50.5, 17.24898984],
    [51.5, 17.23898952],
    [52.5, 17.23145142],
    [53.5, 17.22632105],
    [54.5, 17.22354286],
    [55.5, 17.22306443],
    [56.5, 17.22483458],
    [57.5, 17.22880383],
    [58.5, 17.23492502],
    [59.5, 17.24315148],
    [60.5, 17.25343909],
    [61.5, 17.26574515],
    [62.5, 17.28002846],
    [63.5, 17.29624981],
    [64.5, 17.31436954],
    [65.5, 17.33435063],
    [66.5, 17.35615653],
    [67.5, 17.37975148],
    [68.5, 17.40510042],
    [69.5, 17.43216882],
    [70.5, 17.46092258],
    [71.5, 17.49132795],
    [72.5, 17.52335144],
    [73.5, 17.55695978],
    [74.5, 17.59211982],
    [75.5, 17.62879914],
    [76.5, 17.66696377],
    [77.5, 17.70658129],
    [78.5, 17.74761885],
    [79.5, 17.7900437],
    [80.5, 17.83382275],
    [81.5, 17.87892434],
    [82.5, 17.9253152],
    [83.5, 17.97296286],
    [84.5, 18.02183493],
    [85.5, 18.07189919],
    [86.5, 18.12312353],
    [87.5, 18.17547605],
    [88.5, 18.22892501],
    [89.5, 18.28343882],
    [90.5, 18.33898626],
    [91.5, 18.39553611],
    [92.5, 18.45305756],
    [93.5, 18.51151998],
    [94.5, 18.57089304],
    [95.5, 18.63114669],
    [96.5, 18.69225117],
    [97.5, 18.75417705],
    [98.5, 18.81689537],
    [99.5, 18.8803769],
    [100.5, 18.94459357],
    [101.5, 19.00951733],
    [102.5, 19.07512019],
    [103.5, 19.14137485],
    [104.5, 19.20825462],
    [105.5, 19.27573205],
    [106.5, 19.34378135],
    [107.5, 19.41237631],
    [108.5, 19.48149248],
    [109.5, 19.55110329],
    [110.5, 19.62118443],
    [111.5, 19.69171163],
    [112.5, 19.76266083],
    [113.5, 19.83400841],
    [114.5, 19.90573115],
    [115.5, 19.97780623],
    [116.5, 20.05021121],
    [117.5, 20.12292406],
    [118.5, 20.19592313],
    [119.5, 20.26918717],
    [120.5, 20.34269534],
    [121.5, 20.41642709],
    [122.5, 20.49036263],
    [123.5, 20.56448202],
    [124.5, 20.63876611],
    [125.5, 20.71319602],
    [126.5, 20.78775327],
    [127.5, 20.86241981],
    [128.5, 20.93717795],
    [129.5, 21.01201043],
    [130.5, 21.08690037],
    [131.5, 21.1618313],
    [132.5, 21.23678716],
    [133.5, 21.31175226],
    [134.5, 21.38671134],
    [135.5, 21.46164953],
    [136.5, 21.53655365],
    [137.5, 21.61140764],
    [138.5, 21.6861986],
    [139.5, 21.76091323],
    [140.5, 21.83553865],
    [141.5, 21.91006237],
    [142.5, 21.98447229],
    [143.5, 22.05875672],
    [144.5, 22.13290433],
    [145.5, 22.20690421],
    [146.5, 22.28074585],
    [147.5, 22.35441912],
    [148.5, 22.42791427],
    [149.5, 22.50122197],
    [150.5, 22.57433325],
    [151.5, 22.64723955],
    [152.5, 22.7199327],
    [153.5, 22.79240491],
    [154.5, 22.86464879],
    [155.5, 22.93665733],
    [156.5, 23.0084239],
    [157.5, 23.07994228],
    [158.5, 23.15120662],
    [159.5, 23.22221145],
    [160.5, 23.2929517],
    [161.5, 23.36342268],
    [162.5, 23.43362008],
    [163.5, 23.50353999],
    [164.5, 23.57317887],
    [165.5, 23.64253356],
    [166.5, 23.71160129],
    [167.5, 23.78037969],
    [168.5, 23.84886673],
    [169.5, 23.91706081],
    [170.5, 23.98496068],
    [171.5, 24.05256549],
    [172.5, 24.11987476],
    [173.5, 24.18688841],
    [174.5, 24.25360674],
    [175.5, 24.3200304],
    [176.5, 24.38616048],
    [177.5, 24.4519984],
    [178.5, 24.517546],
    [179.5, 24.5828055],
    [180.5, 24.64777949],
    [181.5, 24.71247097],
    [182.5, 24.77688329],
    [183.5, 24.84102024],
    [184.5, 24.90488595],
    [185.5, 24.96848498],
    [186.5, 25.03182226],
    [187.5, 25.09490311],
    [188.5, 25.15773327],
    [189.5, 25.22031884],
    [190.5, 25.28266636],
    [191.5, 25.34478272],
    [192.5, 25.40667527],
    [193.5, 25.46835171],
    [194.5, 25.52982017],
    [195.5, 25.59108848],
    [196.5, 25.65216707],
    [197.5, 25.71306451],
    [198.5, 25.77379055],
    [199.5, 25.83435539],
    [200.5, 25.89476963],
    [201.5, 25.95504426],
    [202.5, 26.01519074],
    [203.5, 26.07522093],
    [204.5, 26.13514709],
    [205.5, 26.19498193],
    [206.5, 26.2547386],
    [207.5, 26.31443063],
    [208.5, 26.37407203],
    [209.5, 26.4336772],
    [210.5, 26.49326098],
    [211.5, 26.55283865],
    [212.5, 26.6124259],
    [213.5, 26.67203887],
    [214.5, 26.73169411],
    [215.5, 26.79140871],
    [216.5, 26.85119991],
    [217.5, 26.91108626],
    [218.5, 26.97108394],
    [219.5, 27.03121333],
    [220.5, 27.09149434],
    [221.5, 27.15194482],
    [222.5, 27.21258528],
    [223.5, 27.27343608],
    [224.5, 27.33451796],
    [225.5, 27.39585208],
    [226.5, 27.45746001],
    [227.5, 27.51936283],
    [228.5, 27.58158516],
    [229.5, 27.64414785],
    [230.5, 27.70707459],
    [231.5, 27.77038891],
    [232.5, 27.83411475],
    [233.5, 27.89827645],
    [234.5, 27.96289869],
    [235.5, 28.0280066],
    [236.5, 28.09362697],
    [237.5, 28.15978336],
    [238.5, 28.22650313],
    [239.5, 28.29381294],
    [240, 28.32769753],
    [240.5, 28.3617399]

];

var bmi_male_95th = [
    [24, 19.33801062],
    [24.5, 19.27889813],
    [25.5, 19.16465965],
    [26.5, 19.05567423],
    [27.5, 18.9518675],
    [28.5, 18.85316529],
    [29.5, 18.75949359],
    [30.5, 18.67077841],
    [31.5, 18.58694589],
    [32.5, 18.50792131],
    [33.5, 18.43363072],
    [34.5, 18.3639996],
    [35.5, 18.29895323],
    [36.5, 18.23841666],
    [37.5, 18.1823144],
    [38.5, 18.13057244],
    [39.5, 18.08311311],
    [40.5, 18.03986198],
    [41.5, 18.00074262],
    [42.5, 17.96567903],
    [43.5, 17.9345935],
    [44.5, 17.90741007],
    [45.5, 17.88405183],
    [46.5, 17.86443983],
    [47.5, 17.84849622],
    [48.5, 17.8361423],
    [49.5, 17.82729891],
    [50.5, 17.8218865],
    [51.5, 17.81982523],
    [52.5, 17.82103559],
    [53.5, 17.82543578],
    [54.5, 17.83294744],
    [55.5, 17.84349028],
    [56.5, 17.85698505],
    [57.5, 17.87335318],
    [58.5, 17.89251642],
    [59.5, 17.91439894],
    [60.5, 17.93892524],
    [61.5, 17.96602144],
    [62.5, 17.99561523],
    [63.5, 18.02763543],
    [64.5, 18.06201396],
    [65.5, 18.09868317],
    [66.5, 18.13757754],
    [67.5, 18.17863327],
    [68.5, 18.22178824],
    [69.5, 18.26698191],
    [70.5, 18.31415529],
    [71.5, 18.36325085],
    [72.5, 18.41421242],
    [73.5, 18.46698511],
    [74.5, 18.52151524],
    [75.5, 18.57774996],
    [76.5, 18.63563816],
    [77.5, 18.69512904],
    [78.5, 18.75617288],
    [79.5, 18.81872078],
    [80.5, 18.88272474],
    [81.5, 18.948137],
    [82.5, 19.01491107],
    [83.5, 19.08300081],
    [84.5, 19.15236073],
    [85.5, 19.22294589],
    [86.5, 19.29471191],
    [87.5, 19.36761493],
    [88.5, 19.44161165],
    [89.5, 19.51665894],
    [90.5, 19.59271539],
    [91.5, 19.6697383],
    [92.5, 19.74768666],
    [93.5, 19.82651963],
    [94.5, 19.90619689],
    [95.5, 19.98667859],
    [96.5, 20.06792538],
    [97.5, 20.1498984],
    [98.5, 20.23255928],
    [99.5, 20.31587026],
    [100.5, 20.39979379],
    [101.5, 20.48429323],
    [102.5, 20.56933216],
    [103.5, 20.6548748],
    [104.5, 20.74088584],
    [105.5, 20.82733059],
    [106.5, 20.9141748],
    [107.5, 21.00138483],
    [108.5, 21.08892746],
    [109.5, 21.17677023],
    [110.5, 21.26488107],
    [111.5, 21.3532285],
    [112.5, 21.44178165],
    [113.5, 21.53051015],
    [114.5, 21.61938426],
    [115.5, 21.70837477],
    [116.5, 21.79745308],
    [117.5, 21.88659115],
    [118.5, 21.97576153],
    [119.5, 22.06493737],
    [120.5, 22.15409238],
    [121.5, 22.24320091],
    [122.5, 22.33223786],
    [123.5, 22.42117875],
    [124.5, 22.5099997],
    [125.5, 22.59867744],
    [126.5, 22.68718928],
    [127.5, 22.77551316],
    [128.5, 22.86362762],
    [129.5, 22.95151182],
    [130.5, 23.03914551],
    [131.5, 23.12650908],
    [132.5, 23.21358351],
    [133.5, 23.30035043],
    [134.5, 23.38679204],
    [135.5, 23.4728912],
    [136.5, 23.55863129],
    [137.5, 23.64399652],
    [138.5, 23.72897155],
    [139.5, 23.81354171],
    [140.5, 23.89769296],
    [141.5, 23.98141187],
    [142.5, 24.06468566],
    [143.5, 24.14750216],
    [144.5, 24.22984982],
    [145.5, 24.31171774],
    [146.5, 24.39309562],
    [147.5, 24.47397382],
    [148.5, 24.55434332],
    [149.5, 24.63419572],
    [150.5, 24.71352325],
    [151.5, 24.79231881],
    [152.5, 24.87057587],
    [153.5, 24.9482886],
    [154.5, 25.02545175],
    [155.5, 25.10206075],
    [156.5, 25.17811163],
    [157.5, 25.25360108],
    [158.5, 25.32852641],
    [159.5, 25.4028856],
    [160.5, 25.47667722],
    [161.5, 25.54990054],
    [162.5, 25.62255542],
    [163.5, 25.6946424],
    [164.5, 25.76616263],
    [165.5, 25.83711794],
    [166.5, 25.90751079],
    [167.5, 25.97734428],
    [168.5, 26.04662217],
    [169.5, 26.11534887],
    [170.5, 26.18352944],
    [171.5, 26.25116959],
    [172.5, 26.31827569],
    [173.5, 26.38485476],
    [174.5, 26.45091448],
    [175.5, 26.51646321],
    [176.5, 26.58150994],
    [177.5, 26.64606434],
    [178.5, 26.71013675],
    [179.5, 26.77373817],
    [180.5, 26.83688026],
    [181.5, 26.89957537],
    [182.5, 26.96183652],
    [183.5, 27.02367739],
    [184.5, 27.08511234],
    [185.5, 27.14615643],
    [186.5, 27.20682538],
    [187.5, 27.2671356],
    [188.5, 27.32710417],
    [189.5, 27.38674888],
    [190.5, 27.4460882],
    [191.5, 27.50514126],
    [192.5, 27.56392793],
    [193.5, 27.62246873],
    [194.5, 27.68078489],
    [195.5, 27.73889854],
    [196.5, 27.79683185],
    [197.5, 27.85460837],
    [198.5, 27.91225209],
    [199.5, 27.96978771],
    [200.5, 28.02724061],
    [201.5, 28.08463689],
    [202.5, 28.1420033],
    [203.5, 28.19936732],
    [204.5, 28.25675709],
    [205.5, 28.31420146],
    [206.5, 28.37172995],
    [207.5, 28.42937274],
    [208.5, 28.48716074],
    [209.5, 28.54512548],
    [210.5, 28.60329919],
    [211.5, 28.66171476],
    [212.5, 28.72040572],
    [213.5, 28.77940629],
    [214.5, 28.8387513],
    [215.5, 28.89847621],
    [216.5, 28.9586172],
    [217.5, 29.0192108],
    [218.5, 29.08029503],
    [219.5, 29.14190734],
    [220.5, 29.20408599],
    [221.5, 29.26687079],
    [222.5, 29.33030127],
    [223.5, 29.39441777],
    [224.5, 29.45926122],
    [225.5, 29.52487306],
    [226.5, 29.59129532],
    [227.5, 29.65857091],
    [228.5, 29.72674204],
    [229.5, 29.79585303],
    [230.5, 29.86594782],
    [231.5, 29.93707103],
    [232.5, 30.00926778],
    [233.5, 30.08258369],
    [234.5, 30.15706484],
    [235.5, 30.23275779],
    [236.5, 30.30970901],
    [237.5, 30.387967],
    [238.5, 30.46757924],
    [239.5, 30.54859414],
    [240, 30.58964285],
    [240.5, 30.63106054]

];

var bmi_male_97th = [
    [24, 19.85985812],
    [24.5, 19.79194014],
    [25.5, 19.66102345],
    [26.5, 19.5365754],
    [27.5, 19.41848805],
    [28.5, 19.30665411],
    [29.5, 19.20096691],
    [30.5, 19.10132056],
    [31.5, 19.00761051],
    [32.5, 18.91973125],
    [33.5, 18.83758072],
    [34.5, 18.76105711],
    [35.5, 18.69005992],
    [36.5, 18.62449011],
    [37.5, 18.5642493],
    [38.5, 18.50924478],
    [39.5, 18.45937719],
    [40.5, 18.41455697],
    [41.5, 18.37469187],
    [42.5, 18.33969264],
    [43.5, 18.30946785],
    [44.5, 18.28393204],
    [45.5, 18.26299911],
    [46.5, 18.24657949],
    [47.5, 18.2345875],
    [48.5, 18.22693633],
    [49.5, 18.22353875],
    [50.5, 18.22430691],
    [51.5, 18.22915216],
    [52.5, 18.23798637],
    [53.5, 18.25071444],
    [54.5, 18.26724918],
    [55.5, 18.28749643],
    [56.5, 18.31136265],
    [57.5, 18.33875356],
    [58.5, 18.36957256],
    [59.5, 18.40372671],
    [60.5, 18.44112021],
    [61.5, 18.48165813],
    [62.5, 18.52524599],
    [63.5, 18.57178832],
    [64.5, 18.62119533],
    [65.5, 18.67337395],
    [66.5, 18.72823379],
    [67.5, 18.78568583],
    [68.5, 18.84564261],
    [69.5, 18.90801826],
    [70.5, 18.97272855],
    [71.5, 19.03969094],
    [72.5, 19.10882456],
    [73.5, 19.18005024],
    [74.5, 19.25329044],
    [75.5, 19.32846782],
    [76.5, 19.4055104],
    [77.5, 19.48434431],
    [78.5, 19.56489823],
    [79.5, 19.64710224],
    [80.5, 19.7308886],
    [81.5, 19.81618799],
    [82.5, 19.902936],
    [83.5, 19.99106797],
    [84.5, 20.08052042],
    [85.5, 20.17123104],
    [86.5, 20.2631386],
    [87.5, 20.35618297],
    [88.5, 20.45030507],
    [89.5, 20.54544624],
    [90.5, 20.64155132],
    [91.5, 20.73856241],
    [92.5, 20.83642509],
    [93.5, 20.93508525],
    [94.5, 21.03448975],
    [95.5, 21.13458634],
    [96.5, 21.2353237],
    [97.5, 21.33665138],
    [98.5, 21.4385195],
    [99.5, 21.54088032],
    [100.5, 21.64368493],
    [101.5, 21.74688677],
    [102.5, 21.85043987],
    [103.5, 21.95429887],
    [104.5, 22.05841878],
    [105.5, 22.16275742],
    [106.5, 22.26727123],
    [107.5, 22.37191887],
    [108.5, 22.47665729],
    [109.5, 22.58144893],
    [110.5, 22.68625363],
    [111.5, 22.79103265],
    [112.5, 22.89574847],
    [113.5, 23.00036429],
    [114.5, 23.10484416],
    [115.5, 23.20915296],
    [116.5, 23.31325641],
    [117.5, 23.41712109],
    [118.5, 23.5207144],
    [119.5, 23.62400462],
    [120.5, 23.72696086],
    [121.5, 23.82955322],
    [122.5, 23.93175206],
    [123.5, 24.0335295],
    [124.5, 24.1348579],
    [125.5, 24.23571063],
    [126.5, 24.33606191],
    [127.5, 24.43588681],
    [128.5, 24.53516127],
    [129.5, 24.63386207],
    [130.5, 24.73196683],
    [131.5, 24.82945404],
    [132.5, 24.92630305],
    [133.5, 25.02249405],
    [134.5, 25.11800807],
    [135.5, 25.21282703],
    [136.5, 25.3069313],
    [137.5, 25.40030815],
    [138.5, 25.49294066],
    [139.5, 25.58481418],
    [140.5, 25.67591492],
    [141.5, 25.76622996],
    [142.5, 25.85574725],
    [143.5, 25.94445561],
    [144.5, 26.0323447],
    [145.5, 26.11940509],
    [146.5, 26.20562819],
    [147.5, 26.2910063],
    [148.5, 26.37553258],
    [149.5, 26.45920106],
    [150.5, 26.54200665],
    [151.5, 26.62394515],
    [152.5, 26.7050132],
    [153.5, 26.78520835],
    [154.5, 26.86452902],
    [155.5, 26.94297451],
    [156.5, 27.02054498],
    [157.5, 27.09724149],
    [158.5, 27.173066],
    [159.5, 27.24802132],
    [160.5, 27.32211115],
    [161.5, 27.39534011],
    [162.5, 27.46771366],
    [163.5, 27.53923819],
    [164.5, 27.60992094],
    [165.5, 27.67977007],
    [166.5, 27.74879463],
    [167.5, 27.81700453],
    [168.5, 27.88441062],
    [169.5, 27.95102462],
    [170.5, 28.01685913],
    [171.5, 28.08192768],
    [172.5, 28.14624467],
    [173.5, 28.20982542],
    [174.5, 28.27268613],
    [175.5, 28.33484391],
    [176.5, 28.39631678],
    [177.5, 28.45712363],
    [178.5, 28.51728428],
    [179.5, 28.57681946],
    [180.5, 28.63575076],
    [181.5, 28.69410072],
    [182.5, 28.75189275],
    [183.5, 28.80915118],
    [184.5, 28.86590125],
    [185.5, 28.92216908],
    [186.5, 28.97798172],
    [187.5, 29.03336709],
    [188.5, 29.08835404],
    [189.5, 29.14297232],
    [190.5, 29.19725256],
    [191.5, 29.25122631],
    [192.5, 29.30492601],
    [193.5, 29.35838499],
    [194.5, 29.41163748],
    [195.5, 29.46472007],
    [196.5, 29.51766572],
    [197.5, 29.57051295],
    [198.5, 29.62329955],
    [199.5, 29.67606419],
    [200.5, 29.72884644],
    [201.5, 29.78168674],
    [202.5, 29.83462638],
    [203.5, 29.88770757],
    [204.5, 29.94097335],
    [205.5, 29.99446764],
    [206.5, 30.04823522],
    [207.5, 30.10232173],
    [208.5, 30.15677367],
    [209.5, 30.21163837],
    [210.5, 30.26696403],
    [211.5, 30.32279966],
    [212.5, 30.37919514],
    [213.5, 30.43620115],
    [214.5, 30.49386923],
    [215.5, 30.55225152],
    [216.5, 30.61140148],
    [217.5, 30.67137176],
    [218.5, 30.73222122],
    [219.5, 30.79400211],
    [220.5, 30.85676906],
    [221.5, 30.92058278],
    [222.5, 30.9855],
    [223.5, 31.05157949],
    [224.5, 31.1188808],
    [225.5, 31.18746427],
    [226.5, 31.25739102],
    [227.5, 31.32872478],
    [228.5, 31.40152344],
    [229.5, 31.47585441],
    [230.5, 31.55178078],
    [231.5, 31.62936748],
    [232.5, 31.7086802],
    [233.5, 31.78978539],
    [234.5, 31.87275025],
    [235.5, 31.95764272],
    [236.5, 32.04452853],
    [237.5, 32.13348232],
    [238.5, 32.22457182],
    [239.5, 32.31786791],
    [240, 32.36536586],
    [240.5, 32.41344218]

];

$(function chartSetup() {
    $('#container').highcharts({
        chart: {
            type: 'areaspline'
        },
        title: {
            text: 'BMI Growth Chart (Males)'
        },
        legend: {
            layout: 'horizontal',
            align: 'center',
            verticalAlign: 'bottom',
            borderWidth: 1,
            backgroundColor: '#FFFFFF',
            itemStyle: {
                cursor: 'pointer',
                color: '#274b6d',
                fontSize: '12px'
            }
        },
        plotOptions: {
            areaspline: {
                fillOpacity: 0.2
            },
            series: {
                minPointLength: 1,
                shadow: false,
                events: {
                    legendItemClick: function () {
                        if (this.name == 'Percentiles') {
                            toggleBands(chart);
                        }
                    }
                }
            }
        },
        xAxis: {
            title: {
                text: 'Age (months)'
            },
            labels: {
                rotation: -90,
                step: 5
            },
            tickInterval: 5
        },
        yAxis: {
            title: {
                text: 'BMI'
            },
            min: 12
        },
        tooltip: {
            shared: true,
            valueDecimals: 2
        },
        credits: {
            enabled: false
        },
        series: [{
            name: '3rd Percentile',
            data: bmi_male_3rd,
            marker: {
                enabled: false
            }
        }, {
            name: '5th Percentile',
            data: bmi_male_5th,
            marker: {
                enabled: false
            }
        }, {
            name: '10th Percentile',
            data: bmi_male_10th,
            marker: {
                enabled: false
            }
        }, {
            name: '25th Percentile',
            data: bmi_male_25th,
            marker: {
                enabled: false
            }
        }, {
            name: '50th Percentile',
            data: bmi_male_50th,
            marker: {
                enabled: false
            }
        }, {
            name: '75th Percentile',
            data: bmi_male_75th,
            marker: {
                enabled: false
            }
        }, {
            name: '85th Percentile',
            data: bmi_male_85th,
            marker: {
                enabled: false
            }
        }, {
            name: '90th Percentile',
            data: bmi_male_90th,
            marker: {
                enabled: false
            }
        }, {
            name: '95th Percentile',
            data: bmi_male_95th,
            marker: {
                enabled: false
            }
        }, {
            name: '97th Percentile',
            data: bmi_male_97th,
            marker: {
                enabled: false
            }
        }]
    });
});

function toggleBands(chart) {
    $.each(chart.xAxis, function (index, elX) {
        $.each(elX.plotLinesAndBands, function (index, el) {
            if (el.svgElem !== undefined) {
                el.svgElem[el.visible ? 'show' : 'hide']();
                el.visible = !el.visible;
            }
        });
    });
}

$('.toggle-trigger').click(function () {
    var target = $(this).attr('data-target');

    $('#' + target).slideToggle('slow');

    if ($(this).hasClass('plus')) {
        $(this).addClass('minus').removeClass('plus');
    } else {
        $(this).addClass('plus').removeClass('minus');
    }
});